html {
    height: 100%;
    min-height: 100%
}

body {
    position: relative;
    min-height: 100%;
    font-family: helvetica neue, segoe ui, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.4;
    color: #202428;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

main {
    padding: 20px 0
}

.container {
    position: relative;
    width: calc(100% - 60px);
    max-width: 1000px;
    margin: auto
}

h2 {
    font-size: 22px;
    font-weight: 400
}

@media (max-width: 768px) {
    .container {
        width: calc(100% - 30px)
    }
}

.targets-wrapper {
    margin: 0 -5px;
    padding: 10px 0 20px
}

.targets-wrapper:after,
.targets-wrapper:before {
    content: " ";
    display: table
}

.targets-wrapper:after {
    clear: both
}

.target,
.target-click,
.target-notice {
    cursor: default;
    font-size: 13px;
    line-height: 52px;
    height: 52px;
    border-radius: 2px;
    border: 1px solid #e2e2e2;
    text-align: center;
    background: #fafafa;
    position: relative;
    text-transform: uppercase;
    float: left;
    width: calc(25% - 10px);
    margin: 5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.target-click,
.target-notice {
    cursor: pointer
}

.target.active,
.target-click.active,
.target-notice.active {
    color: #07d
}

.demo-img {
    float: left;
    width: calc(25% - 10px);
    margin: 5px
}

.demo-img > img {
    border: 4px solid #eee;
    border-radius: 2px;
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter .2s, border-color .2s
}

.demo-img:hover > img {
    filter: none;
    border-color: #ddd
}

@media (max-width: 768px) {
    .target,
    .target-click,
    .target-notice {
        width: calc(50% - 10px)
    }

    .demo-img > img {
        border-width: 2px
    }
}

.ajax-sending {
    color: #07d
}

.ajax-complete {
    color: #6c0
}

.ajax-success tt {
    color: #666;
    display: block;
    padding-top: 10px;
    font-size: 13px
}

.ajax-error {
    color: #d00
}

header {
    height: 50px;
    line-height: 50px;
    font-size: 17px;
    background: #262c33;
    color: #99a3ad;
    box-shadow: 0 0 4px rgba(0, 0, 0, .6)
}

header a {
    margin-right: 20px;
    color: #99a3ad;
    text-decoration: none
}

header a:last-child,
header a:nth-child(3) {
    margin-right: 0
}

header a.active,
header a:hover {
    color: #fff;
    text-decoration: none
}

#stephan {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border-radius: 3px;
    background: no-repeat -3px -2px url(https://stephanwagner.me/img/stephan.jpg);
    background-size: 50px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3)
}

#stephan > span {
    font-size: 0;
    line-height: 0;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    right: 50%;
    pointer-events: none;
    transition: font-size .2s, margin .2s, opacity .2s, line-height .2s;
    opacity: 0
}

#stephan:hover > span {
    opacity: 1;
    font-size: 17px;
    margin-right: 40px
}

@media (max-width: 500px) {
    #stephan > span {
        display: none
    }
}

.truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden
}

.noselect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.clearfix:after,
.clearfix:before {
    content: " ";
    display: table
}

.clearfix:after {
    clear: both
}

/*!normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css*/

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    background-color: transparent
}

a:active,
a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 0;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: inherit
}

b,
strong {
    font-weight: bolder
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

mark {
    background-color: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    overflow: auto
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],
html input[disabled] {
    cursor: default
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

button:-moz-focusring,
input:-moz-focusring {
    outline: 1px dotted ButtonText
}

input {
    line-height: normal
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    height: auto
}

input[type=search] {
    -webkit-appearance: textfield
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: 700
}

html,
body,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
table,
tr,
td,
div,
p,
img,
pre,
iframe {
    margin: 0;
    padding: 0;
    border: 0
}

input,
textarea,
button,
select {
    margin: 0
}

textarea,
img {
    display: block
}

html,
body {
    min-width: 100%;
    min-height: 100%
}

header,
nav,
footer,
section,
img {
    display: block
}

ul,
ol {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td {
    vertical-align: top
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400
}

* {
    outline: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none
}

input::-moz-focus-inner,
button::-moz-focus-inner {
    border: 0
}